Optimal. Leaf size=15 \[ \tanh ^{-1}\left (\sqrt{x}\right )-\tan ^{-1}\left (\sqrt{x}\right ) \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0074245, antiderivative size = 15, normalized size of antiderivative = 1., number of steps used = 4, number of rules used = 4, integrand size = 15, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.267, Rules used = {329, 298, 203, 206} \[ \tanh ^{-1}\left (\sqrt{x}\right )-\tan ^{-1}\left (\sqrt{x}\right ) \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 329
Rule 298
Rule 203
Rule 206
Rubi steps
\begin{align*} \int \frac{\sqrt{x}}{1-x^2} \, dx &=2 \operatorname{Subst}\left (\int \frac{x^2}{1-x^4} \, dx,x,\sqrt{x}\right )\\ &=\operatorname{Subst}\left (\int \frac{1}{1-x^2} \, dx,x,\sqrt{x}\right )-\operatorname{Subst}\left (\int \frac{1}{1+x^2} \, dx,x,\sqrt{x}\right )\\ &=-\tan ^{-1}\left (\sqrt{x}\right )+\tanh ^{-1}\left (\sqrt{x}\right )\\ \end{align*}
Mathematica [A] time = 0.0036275, size = 15, normalized size = 1. \[ \tanh ^{-1}\left (\sqrt{x}\right )-\tan ^{-1}\left (\sqrt{x}\right ) \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [B] time = 0.007, size = 24, normalized size = 1.6 \begin{align*} -{\frac{1}{2}\ln \left ( -1+\sqrt{x} \right ) }+{\frac{1}{2}\ln \left ( \sqrt{x}+1 \right ) }-\arctan \left ( \sqrt{x} \right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [B] time = 2.09145, size = 31, normalized size = 2.07 \begin{align*} -\arctan \left (\sqrt{x}\right ) + \frac{1}{2} \, \log \left (\sqrt{x} + 1\right ) - \frac{1}{2} \, \log \left (\sqrt{x} - 1\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [B] time = 1.66467, size = 86, normalized size = 5.73 \begin{align*} -\arctan \left (\sqrt{x}\right ) + \frac{1}{2} \, \log \left (\sqrt{x} + 1\right ) - \frac{1}{2} \, \log \left (\sqrt{x} - 1\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [B] time = 0.299491, size = 26, normalized size = 1.73 \begin{align*} - \frac{\log{\left (\sqrt{x} - 1 \right )}}{2} + \frac{\log{\left (\sqrt{x} + 1 \right )}}{2} - \operatorname{atan}{\left (\sqrt{x} \right )} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [B] time = 2.82384, size = 32, normalized size = 2.13 \begin{align*} -\arctan \left (\sqrt{x}\right ) + \frac{1}{2} \, \log \left (\sqrt{x} + 1\right ) - \frac{1}{2} \, \log \left ({\left | \sqrt{x} - 1 \right |}\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]